🎖️GitЯра🎖️
Node / meshtastic / Meshtastic-Android / files / core / model / src / commonTest / kotlin / org / meshtastic / core / model / util / UnitConversionsTest.kt
Displaying Raw • Download
core/model/src/commonTest/kotlin/org/meshtastic/core/model/util/UnitConversionsTest.kt b4bedd92fcc8d65daff79200d71f6ebc3d8f0cfa (b4bedd92) Text, 1.23 KB
T8b949e/*
* Copyright (c) 2026 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
Tff7b72package T7ee787org.meshtastic.core.model.util
Tff7b72import T7ee787kotlin.test.Test
Tff7b72import T7ee787kotlin.test.assertEquals
Tff7b72class T56d364UnitConversionsTest Tb4b4b4{
Tf0883e@Test
Tff7b72fun Td2a8ffcelsiusToFahrenheitTb4b4b4(Tb4b4b4) Tb4b4b4{
Te6edf3assertEqualsTb4b4b4(T79c0ff3T79c0ff2fTb4b4b4, Te6edf3UnitConversionsTb4b4b4.Te6edf3celsiusToFahrenheitTb4b4b4(T79c0ff0fTb4b4b4)Tb4b4b4)
Te6edf3assertEqualsTb4b4b4(T79c0ff2T79c0ff1T79c0ff2fTb4b4b4, Te6edf3UnitConversionsTb4b4b4.Te6edf3celsiusToFahrenheitTb4b4b4(T79c0ff1T79c0ff0T79c0ff0fTb4b4b4)Tb4b4b4)
Tb4b4b4}
Tf0883e@Test
Tff7b72fun Td2a8ffmetersPerSecondToMphTb4b4b4(Tb4b4b4) Tb4b4b4{
Te6edf3assertEqualsTb4b4b4(T79c0ff0fTb4b4b4, Te6edf3UnitConversionsTb4b4b4.Te6edf3metersPerSecondToMphTb4b4b4(T79c0ff0fTb4b4b4)Tb4b4b4)
Te6edf3assertEqualsTb4b4b4(T79c0ff2T79c0ff2.3694fTb4b4b4, Te6edf3UnitConversionsTb4b4b4.Te6edf3metersPerSecondToMphTb4b4b4(T79c0ff1T79c0ff0fTb4b4b4)Tb4b4b4, Te6edf3absoluteTolerance Tff7b72= T79c0ff0.001fTb4b4b4)
Tb4b4b4}
Tb4b4b4}
Served by rngit 1.5.0 - Generated in 0.04s